package com.yupi.oj.codeBox.service;

import com.yupi.oj.codeBox.model.requesst.ExecuteRequest;
import com.yupi.oj.codeBox.model.response.ExecuteResponse;

/**
 * 执行代码沙箱服务层
 *
 * @author yanghaifeng
 * @date 2024/4/23 10:49
 */
public interface ExecuteCodeService {

    /**
     * 执行
     *
     * @param executeRequest 执行请求数据
     * @return 执行结果
     */
    ExecuteResponse execute(ExecuteRequest executeRequest);
}
